﻿Imports System.Web.UI

Namespace DotNetNuke.Modules.ActiveForums
    Public Class Exceptions
        Public Shared Sub LogException(ByVal ex As Exception)
            If Not TypeOf (ex) Is Threading.ThreadAbortException Then
                DotNetNuke.Services.Exceptions.LogException(ex)
            End If

        End Sub
        Public Shared Sub ModuleException(ByRef ctl As Control, ByVal ex As Exception)
            If Not TypeOf (ex) Is Threading.ThreadAbortException Then
                DotNetNuke.Services.Exceptions.ProcessModuleLoadException(ctl, ex)
            End If
        End Sub
    End Class
End Namespace
